package com.leon.alishop.model;

import java.io.Serializable;
import java.util.Date;

public class CityArea implements Cloneable,Serializable{

	private static final long serialVersionUID = 1L;

	private Integer id;
	
	private String name;
	
	private Integer level;
	
	private Integer parentId;
	
	private Date createDate;
	
	private Date modifyDate;

	public CityArea() {
		super();
	}

	public CityArea(Integer id, String name, Integer level, Integer parentId,
			Date createDate, Date modifyDate) {
		super();
		this.id = id;
		this.name = name;
		this.level = level;
		this.parentId = parentId;
		this.createDate = createDate;
		this.modifyDate = modifyDate;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public Integer getParentId() {
		return parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getModifyDate() {
		return modifyDate;
	}

	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}
	
	public CityArea clone(){
		try {
			return (CityArea) super.clone();
		} catch (CloneNotSupportedException e) {
		}
		return this;
	}
	
}
